package com.easthome.controller;

import com.easthome.pojo.OrderSetting;
import com.easthome.service.OrderSettingService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;

@RestController
@RequestMapping("order")
public class OrderSettingController {
    @Autowired
    private OrderSettingService orderSettingService;
    @RequestMapping("selectAll")
    public List<OrderSetting> selectAll(){
        return orderSettingService.selectAll();
    }
}
